package com.bdqn.t350.ch01.service;

import com.bdqn.t350.ch01.dao.UserDao;
import com.bdqn.t350.ch01.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImp implements UserService {

    @Resource
    UserDao userDao;

    @Override
    public void addBiz(User user) {
        userDao.add(user);
    }
}
